package dj.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SmsStatus entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sms_status", catalog = "")
public class SmsStatus implements java.io.Serializable {

	// Fields

	private String id;
	private String reportid;
	private String companyid;
	private Timestamp sendTime;
	private String phone;
	private String systemNum;
	private String message;
	private String applicationid;
	private String requestidentifier;
	private String replyCode;
	private String type;

	// Constructors

	/** default constructor */
	public SmsStatus() {
	}

	/** minimal constructor */
	public SmsStatus(String id, Timestamp sendTime, String phone, String systemNum, String message) {
		this.id = id;
		this.sendTime = sendTime;
		this.phone = phone;
		this.systemNum = systemNum;
		this.message = message;
	}

	/** full constructor */
	public SmsStatus(String id, String reportid, String companyid, Timestamp sendTime, String phone, String systemNum, String message, String applicationid, String requestidentifier, String replyCode, String type) {
		this.id = id;
		this.reportid = reportid;
		this.companyid = companyid;
		this.sendTime = sendTime;
		this.phone = phone;
		this.systemNum = systemNum;
		this.message = message;
		this.applicationid = applicationid;
		this.requestidentifier = requestidentifier;
		this.replyCode = replyCode;
		this.type = type;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "reportid", length = 36)
	public String getReportid() {
		return this.reportid;
	}

	public void setReportid(String reportid) {
		this.reportid = reportid;
	}

	@Column(name = "companyid", length = 36)
	public String getCompanyid() {
		return this.companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	@Column(name = "sendTime", nullable = false, length = 19)
	public Timestamp getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Timestamp sendTime) {
		this.sendTime = sendTime;
	}

	@Column(name = "phone", nullable = false, length = 20)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "systemNum", nullable = false, length = 36)
	public String getSystemNum() {
		return this.systemNum;
	}

	public void setSystemNum(String systemNum) {
		this.systemNum = systemNum;
	}

	@Column(name = "message", nullable = false, length = 1000)
	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Column(name = "applicationid", length = 40)
	public String getApplicationid() {
		return this.applicationid;
	}

	public void setApplicationid(String applicationid) {
		this.applicationid = applicationid;
	}

	@Column(name = "requestidentifier", length = 50)
	public String getRequestidentifier() {
		return this.requestidentifier;
	}

	public void setRequestidentifier(String requestidentifier) {
		this.requestidentifier = requestidentifier;
	}

	@Column(name = "replyCode", length = 50)
	public String getReplyCode() {
		return this.replyCode;
	}

	public void setReplyCode(String replyCode) {
		this.replyCode = replyCode;
	}

	@Column(name = "type")
	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}